home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Various / S.N.A.G. Disk of the Month 91-03 (1991)(Southern Nevada Amiga Group)(PD).zip / S.N.A.G. Disk of the Month 91-03 (1991)(Southern Nevada Amiga Group)(PD).adf / PIV / PIV.h < prev   
C/C++ Source or Header  |  1991-03-29  |  868b  |  44 lines

  1. /* PIV.h
  2.  *
  3.  * (c) Copyright 1991 J.E.Hanway
  4.  *
  5.  * $Id: PIV.h,v 1.1 91/03/13 22:33:39 jeh Exp $
  6.  *
  7.  * $Log:    PIV.h,v $
  8.  * Revision 1.1  91/03/13  22:33:39  jeh
  9.  * Initial revision
  10.  * 
  11.  */
  12.  
  13.  
  14. #ifndef _INSERT_H
  15. #define _INSERT_H
  16.  
  17. #define RETRY  1
  18. #define ASSIGN 2
  19. #define MOUNT  3
  20. #define CANCEL 4
  21.  
  22. extern struct Gadget *gproto[];
  23. extern struct NewWindow nw_proto;
  24. extern struct IntuiText *vol_text;
  25.  
  26. /* Structure for all data that must be kept separately for each task.
  27.  * This is allocated from the system heap to ease the demand on the
  28.  * user's stack.
  29.  */
  30. typedef struct {
  31.    struct Gadget     g[6];
  32.    struct StringInfo si;
  33.    struct NewWindow  nw;
  34.    struct IntuiText  it;
  35.    UBYTE             strbuf[80];
  36.    char              line[40];
  37.    char              cmd[80];
  38. } context_t;
  39.  
  40. extern void init_semaphores(void);
  41. extern struct SignalSemaphore inuse_sema;
  42.  
  43. #endif
  44.